Inheritance diagram for TMCSmartPtr< T >:

Public Member Functions | |
| TMCSmartPtr (T *ptr=NULL) | |
| ~TMCSmartPtr () | |
| T * | operator= (T *ptr) |
| void | Allocate () |
| void | CopyObjectFrom (const TMCSmartPtr &fromSmart) |
| void | TransferObjectFrom (TMCSmartPtr &fromSmart) |
| void | SetToNullWithoutDeleting () |
| void | AssignWithoutDeleting (T *lp) |
| TMCSmartPtr * | This () |
| because & has been overriden differently :-( | |
Static Protected Member Functions | |
| static T * | Assign (T **pp, T *lp) |
Private Member Functions | |
| TMCSmartPtr (const TMCSmartPtr &ptr) | |
| TMCSmartPtr & | operator= (const TMCSmartPtr &fromSmart) |
TMCSmartPtr<TMCOffscreen> offscreen;
offscreen= TMCOffscreen::Create(width, height, bitDepth);
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
Assign a new value to the pointer without deleting the object previously pointed by it.
|
|
||||||||||
|
Creates a copy of the object pointed to by fromSmart and points to it. The previous object pointed by this will be deleted.
|
|
||||||||||
|
Reimplemented from TMCPtr< T >. |
|
||||||||||
|
|
|
|||||||||
|
Sets the internal pointer to NULL without deleting the pointed object. Use this to transfer ownership of the pointed object to a TMCPtrArray But don't forget to call DeleteAndRemoveAll on the array ! |
|
|||||||||
|
because & has been overriden differently :-(
|
|
||||||||||
|
Transfers the pointed object from fromSmart to this and sets fromSmart to null
|
1.4.5